package com.teacher.pojo.vo.all;

import com.alibaba.excel.annotation.ExcelProperty;
import com.teacher.pojo.excel.TrueOrFalseConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ClassLevelGetVo {
    @ExcelProperty(value = "学生学号")
    private String studentKey;

    @ExcelProperty(value = "学生姓名")
    private String studentName;

    @ExcelProperty(value = "德育成绩")
    private BigDecimal moralGrades;

    @ExcelProperty(value = "德育排名")
    private Integer moralLevel;

    @ExcelProperty(value = "智育成绩")
    private BigDecimal intellectualGrades;

    // 智育排名
    @ExcelProperty(value = "智育排名")
    private Integer intellectualLevel;

    @ExcelProperty(value = "体育成绩")
    private BigDecimal peGrades = new BigDecimal(0);

    @ExcelProperty(value = "体育排名")
    private Integer peLevel;

    @ExcelProperty(value = "美育成绩")
    private BigDecimal beautyGrades;

    @ExcelProperty(value = "美育排名")
    private Integer beautyLevel;

    @ExcelProperty(value = "劳育成绩")
    private BigDecimal laborGrades;

    @ExcelProperty(value = "劳育排名")
    private Integer laborLevel;

    @ExcelProperty(value = "互评分成绩")
    private BigDecimal evaluationGrades;

    @ExcelProperty(value = "互评分排名")
    private Integer evaluationLevel;

    @ExcelProperty(value = "扣分成绩")
    private BigDecimal punishGrades;

    @ExcelProperty(value = "总成绩")
    private BigDecimal allGrades = new BigDecimal(0);

    @ExcelProperty(value = "总排名")
    private Integer level;

    @ExcelProperty(value = "是否有不及格科目", converter = TrueOrFalseConverter.class)
    private Boolean isHasNotPass;

    @ExcelProperty(value = "是否有处分", converter = TrueOrFalseConverter.class)
    private Boolean isPunishment;

    @ExcelProperty(value = "是否有资格评定奖学金", converter = TrueOrFalseConverter.class)
    private Boolean isQualification;

    @ExcelProperty(value = "奖学金")
    private String reward = "";
}
